package com.chw.upload;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.chw.utils.CommonFieldsUtil;

@Service
public class UploadFileService implements IUploadFileService {

	@Autowired
	private UploadFileMapper uploadFileMapper;

	@Override
	public void save(UploadFile record) throws Exception {
		CommonFieldsUtil.setCreateValue(record);
		uploadFileMapper.insert(record);
	}

}
